package com.demo.mqtt.common.fromCommon.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Licoy
 * @version 2018/4/18/14:17
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SplitPageDTO {

    public SplitPageDTO (Long page, Long pageSize) {
        this.page = page;
        this.pageSize = pageSize;
    }

    private Long page = 1L;

    private Long pageSize = 10L;

    private Boolean asc = false;

}

